package com.xiao.mall.foundation.security;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author zhoushaofeng
 */
@Data
@ConfigurationProperties(
        prefix = "application.security",
        ignoreUnknownFields = false
)
public class SecuritySetting {
    private String secret;
    private long tokenValidityInSeconds;
    private long tokenValidityInSecondsForRememberMe;
}
